<?php
/**
 * A script button
 *
 *
 */
class button extends input
{
    function button($id=NULL, $value=NULL, $script=NULL, $class = NULL, $label=NULL)
    {
        parent::input($id, "button", $class, $label);
        $this->setValue($value);
        $this->addEvent('onclick', $script);
    }
}
?>